define(function (require,exports,module) {
    var myPub = require('./public');
    var lazLoading = new myPub.lazLoadingImg();
    var ofanxianAreaTip = $('.js_fanxianArea').html();
    var oGoodsReturnArea = $('.js_goodsReturnArea');        // 商品区域

    var showWinodw = $('#showWindow').val();
    if(showWinodw != 'showWindow'){
        fanxianAreaTip();
    }
    function fanxianAreaTip() {
        myPub.askLayer(ofanxianAreaTip,function () {
           // console.log('关闭')
            myPub.LayerCloseAll();
        },function () {
            window.history.back(-1);
          //  console.log('跳转')
        },'no',function () {},['浏览商品','返回']);
    }
    // 懒加载
    lazLoading.AddLazLoadingImg($('.js_contain')[0]);
    myPub.JudgeAppHref(oGoodsReturnArea.find('a'));
});